<!DOCTYPE html>
<html lang="en">
    <head>
        {include file="public/header"}
        <link href="/admin/vendor/datePicker/bootstrap-datepicker.css" rel="stylesheet" type="text/css" />
    </head>
    <body>
        <div class="col-lg- col-sm-">
            <form class="form" action="insert" id="form">
                <div class="col-lg-4">
                    <div class="form-group">
                        <label>书本选择</label>
                        <select class="form-control" name="bkid">
                            {volist name="data" id="d"}
                            <option value="{$d.bk_id}">{$d.bk_name}</option>
                            {/volist}
                        </select>
                    </div>
                </div>
                <div class="clearfix"></div>
                <div class="col-lg-6">
                    <div class="form-group">
                        <label>标题</label>
                        <input class="form-control" type="text" name="title" value="">
                    </div>
                    <div class="form-group">
                        <label>排序</label>
                        <input class="form-control" type="text" name="sort" value="1">
                    </div>
                </div>
                <div class="col-lg-12">
                    <div class="form-group">
                        <label>详细内容</label>
                        <script id="content" name="content" type="text/plain"></script>                                    
                    </div>
                </div>
                <div class="col-lg-12">
                    <div class="form-group">
                        <label>练习题目</label>
                        <script id="exercise" name="exercise" type="text/plain"></script>                                    
                    </div>
                </div>                        
                <div class="col-lg-12">
                    <a href="javascript:;" class="btn btn-primary" onclick="edu.submit('form',this)">确定</a>
                </div>
            </form>
        </div>
        {include file="public/plane" /}
        {include file="public/javascript" /}
        {include file="public/jqueryform" /}
        <script type="text/javascript" src="/admin/vendor/ue/ueditor.config.js"></script>
        <script type="text/javascript" src="/admin/vendor/ue/ueditor.all.js"></script>
        <script type="text/javascript" src="/admin/script/chapter/add.js"></script>
    </body>
</html>
